const express = require('express')
const router = express.Router()
const nft = require('../service/nftService')
const {upload} = require('../util/util')

router.get('/nft', nft.uncompleteNft())
router.post('/nft/grid', nft.addGrid())
router.post('/nft/nft', upload.single('img'), nft.completeNFT())
router.get('/nft/nfts', nft.nfts())
module.exports = router